﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using VVA.Data.Resource;

namespace VVA.Website.UI.Models.ViewModel
{
    public class ContactForm
    {
        [Display(Name = "ContactForm_Name", ResourceType = typeof(EntityResource))]
        public string Name { get; set; }

        [Display(Name = "ContactForm_Company", ResourceType = typeof(EntityResource))]
        public string Company { get; set; }

        [Display(Name = "ContactForm_Email", ResourceType = typeof(EntityResource))]
        [DataType(DataType.EmailAddress)]
        [Required(ErrorMessage = "*")]
        public string Email { get; set; }

        [Display(Name = "ContactForm_Subject", ResourceType = typeof(EntityResource))]
        [Required(ErrorMessage = "*")]
        public string Subject { get; set; }

        [Display(Name = "ContactForm_Message", ResourceType = typeof(EntityResource))]
        [Required(ErrorMessage = "*")]
        public string Message { get; set; }
    }
}